﻿@{
    ViewBag.Title = "CourseCode";
}

<h2>CourseCode</h2>

@using (Html.BeginForm("CourseCode", "Student", FormMethod.Post))
{
    <b>Course: </b>
    @Html.TextBox("txtBoxCourseCode")
    <input type="submit" value="Submit">
}
<!--validation -->
<div>
    @ViewBag.message
</div>